import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)



// login为1则是登陆状态
const store = new Vuex.Store({
    state: {

    },
    mutations:{
        userInfo(state,data){
            Vue.set(this.state,'state',data)
        }
    }
})




    
export default store